//
//  DefaultCenterView.h
//  01 微博
//
//  Created by zhoup on 16/5/16.
//  Copyright © 2016年 zhoup. All rights reserved.
//

#import <UIKit/UIKit.h>

@class DefaultCenterView;

@protocol DefaultCenterViewDelegate <NSObject>

@optional
- (void)defaultCenterView:(DefaultCenterView *)defaultCenterView didClickLogin:(UIButton *)loginBtn;

- (void)defaultCenterView:(DefaultCenterView *)defaultCenterView didClickRegister:(UIButton *)registerBtn;

@end

@interface DefaultCenterView : UIView

+(instancetype)defaultCenterView;
//中间的主题图片
@property (strong, nonatomic) NSString *titleImageName;

//选择的地盘
@property (strong, nonatomic) IBOutlet UIImageView *rotateImage;
//描述文字
@property (strong, nonatomic) NSString*titleLabelName;

@property (weak, nonatomic) IBOutlet UIImageView *titleImageView;

-(void)startRotate;

-(void)stopRotate;


@property(nonatomic,weak) id<DefaultCenterViewDelegate> delegate;
@end
